package com.yycx.module.user.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yycx.common.mybatis.annotation.TableAlias;

/**
 * APP模块定义
 *
 * @author flyme
 * @date 2024-07-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("app_module")
@TableAlias("module")
@ApiModel(value="AppModule对象", description="APP模块定义")
public class AppModule extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "moduleId", type = IdType.ASSIGN_ID)
    private Long moduleId;

    @ApiModelProperty(value = "模块名称")
    private String moduleName;

    @ApiModelProperty(value = "模块图标")
    private String moduleIcon;

    @ApiModelProperty(value = "详情图")
    private String coverImage;

    @ApiModelProperty(value = "模块类型")
    private Integer moduleType;

    @ApiModelProperty(value = "跳转路径")
    private String jumpPath;

    @ApiModelProperty(value = "跳转方式")
    private Integer jumpType;

    @ApiModelProperty(value = "状态(1:已启用,0未启用)")
    private Integer state;

    @ApiModelProperty(value = "是否上架(1:已上架 0:未上架)")
    private Integer onLine;

}
